
import request from '@/utils/request'
export function getList1(query) {
  return request({
    url: '/api/hospital/drugTable/getList',
    method: 'get',
    params: query
  })
}

export function getListDrug(query) {
  return request({
    url: '/api/hospital/drugTable/getListDrug',
    method: 'get',
    params: query
  })
}

export function add(query) {
  return request({
    url: '/api/hospital/drugTable/add',
    method: 'post',
    params: query
  })
}

export function update(query) {
  return request({
    url: '/api/hospital/drugTable/update',
    method: 'post',
    params: query
  })
}

export function delect(query) {
  return request({
    url: '/api/hospital/drugTable/delect',
    method: 'post',
    params: query
  })
}

export function xiugaishu(query) {
  return request({
    url: '/api/hospital/drugTable/xiugaishu',
    method: 'get',
    params: query
  })
}
